package Controller;

import Model.Session;
import View.UserDetailsView;
import com.twu.biblioteca.Message;

public class UserController {
    public void showUserDetails(Session session){
        UserDetailsView userDetailsView = new UserDetailsView();
        if(session.isUserLoggedIn())
            userDetailsView.printUserDetails(session);
        else
            userDetailsView.printTalkToLibrarian();
    }

}
